﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PyNet
{
    class clsLog
    {
        public void Write(params string[] items)
        {
            string timestamp = System.DateTime.Now.TimeOfDay.ToString();

            string text = "[" + timestamp + "]";

            for (int i = 0; i < items.Length; i += 2)
            {
                text += items[i + 1];
            }

            Program.GetConsole.AddText(items);
        }
    }
}
